package com.leoren.run.vo;

import com.amap.api.location.AMapLocation;

import java.util.ArrayList;
import java.util.List;

/**
 * 路径记录实体类
 */
public class PathRecord {

    private AMapLocation mStartPoint;
    private AMapLocation mEndPoint;
    private List<AMapLocation> mPathLinePoints = new ArrayList<AMapLocation>();
    private String mDistance;
    private String mDuration;
    private String mAveragespeed;
    private String mDate;
    private int mId = 0;

    @Override
    public String toString() {
        return "PathRecord{" +
                "mStartPoint=" + mStartPoint +
                ", mEndPoint=" + mEndPoint +
                ", mPathLinePoints=" + mPathLinePoints +
                ", mDistance='" + mDistance + '\'' +
                ", mDuration='" + mDuration + '\'' +
                ", mAveragespeed='" + mAveragespeed + '\'' +
                ", mDate='" + mDate + '\'' +
                ", mId=" + mId +
                '}';
    }

    public AMapLocation getmEndPoint() {
        return mEndPoint;
    }

    public void setmEndPoint(AMapLocation mEndPoint) {
        this.mEndPoint = mEndPoint;
    }

    public List<AMapLocation> getmPathLinePoints() {
        return mPathLinePoints;
    }

    public void setmPathLinePoints(List<AMapLocation> mPathLinePoints) {
        this.mPathLinePoints = mPathLinePoints;
    }

    public String getmDistance() {
        return mDistance;
    }

    public void setmDistance(String mDistance) {
        this.mDistance = mDistance;
    }

    public String getmDuration() {
        return mDuration;
    }

    public void setmDuration(String mDuration) {
        this.mDuration = mDuration;
    }

    public String getmAveragespeed() {
        return mAveragespeed;
    }

    public void setmAveragespeed(String mAveragespeed) {
        this.mAveragespeed = mAveragespeed;
    }

    public String getmDate() {
        return mDate;
    }

    public void setmDate(String mDate) {
        this.mDate = mDate;
    }

    public int getmId() {
        return mId;
    }

    public void setmId(int mId) {
        this.mId = mId;
    }

    public AMapLocation getmStartPoint() {
        return mStartPoint;
    }

    public void setmStartPoint(AMapLocation mStartPoint) {
        this.mStartPoint = mStartPoint;
    }
}
